<?php

/**
 * NOTICE OF LICENSE
 *
 * THIS SOURCE FILE IS PART OF EVEBIT'S PRIVATE PROJECT.
 * 
 * DO NOT USE THIS FILE IN OTHER PLACE.
 *
 * @package   App_Sample
 * @author    Cheng Wei <berlios.o@gmail.com>
 * @version   $$Id: FormatDate.php 130 2011-03-18 03:10:02Z cheng.wei $$
 * @copyright Copyright (c) 2008 Evebit Inc. China (http://www.evebit.com)
 */

/**
 * Format date
 * 
 * @package   App_Sample
 * @author    Cheng Wei <berlios.o@gmail.com>
 * @version   $$Id: FormatDate.php 130 2011-03-18 03:10:02Z cheng.wei $$
 */
class Evebit_View_Helper_FormatDate extends Zend_View_Helper_Abstract {	
		
	/**
	 * Format date
	 * 
	 * @param $date Zend_date
	 * @return string
	 */
	public function formatDate($date){		
		return $date->toString("M/d/Y");		
	}
	
}